package com.woniuxy.factory.entity;

import java.util.List;

/**
 * @NTLX data 2020 08 19
 */
public class DepDTO {
    private Dep dep;
    private Emp leader;
    private List<Emp> dleader;
    private int count;

    public DepDTO() {
    }

    public DepDTO(Dep dep, Emp leader, List<Emp> dleader, int count) {
        this.dep = dep;
        this.leader = leader;
        this.dleader = dleader;
        this.count = count;
    }

    public Dep getDep() {
        return dep;
    }

    public void setDep(Dep dep) {
        this.dep = dep;
    }

    public Emp getLeader() {
        return leader;
    }

    public void setLeader(Emp leader) {
        this.leader = leader;
    }

    public List<Emp> getDleader() {
        return dleader;
    }

    public void setDleader(List<Emp> dleader) {
        this.dleader = dleader;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    @Override
    public String toString() {
        return "DepDTO{" +
                "dep=" + dep +
                ", leader=" + leader +
                ", dleader=" + dleader +
                ", count=" + count +
                '}';
    }
}
